:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;/*默认水平方向排列*/
  place-items: center;/*交叉轴方向居中*/
  min-width: 320px;/*设定最小的宽度为320px*/
  min-height: 100vh;/*若不设定，则里面的子元素app无法垂直居中*/
  background-color: #454749;
  box-sizing: border-box;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.card {
  padding: 0.5em;
}

#app {
  max-width: 1280px; /*宽度由里面的元素内容决定，但最宽不超过1280px*/
  margin: 0 auto; /*app水平方向自动居中*/
  padding: 0rem; /*内边距2rem，即相对html中字体的大小，不定义，则默认为16px*/
  text-align: center;/*块或行内内容居中*/
  background-color: #ccc;
  border-radius: 8px;
}


